Pod::Spec.new do |s|
  # 上传到私有库
	#验证方法1：pod lib lint CQBridgeSTOLottie.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/dvlproadSpecs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CQBridgeSTOLottie.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproad CQBridgeSTOLottie.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose

  # 上传到开源库
  #验证方法1：pod lib lint CQBridgeSTOLottie.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/Specs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CQBridgeSTOLottie.podspec --sources=master,dvlproadPublicSpec --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproadPublicSpec CQBridgeSTOLottie.podspec --sources=master,dvlproadPublicSpec --allow-warnings --use-libraries --verbose

  s.name         = "CQBridgeSTOLottie"
  s.version      = "0.1.0"
  s.summary      = "桥接Swift版本的lottie-ios到OC中使用"
  s.homepage     = "https://gitee.com/dvlpPublic/iOS.git"

  #s.license      = "MIT"
  s.license      = {
    :type => 'Copyright',
    :text => <<-LICENSE
              © 2008-2020 dvlproad. All rights reserved.
    LICENSE
  }

  s.author   = { "dvlproad" => "" }
  

  s.description  = <<-DESC
 				           -、桥接Swift版本的lottie-ios到OC中使用

                   A longer description of CQBridgeSTOLottie in Markdown format.

                   * Think: Why did you write this? What is the focus? What does it do?
                   * CocoaPods will be using this to generate tags, and improve search results.
                   * Try to keep it short, snappy and to the point.
                   * Finally, don't worry about the indent, CocoaPods strips it!
                   DESC
  

  s.platform     = :ios, "9.0"
 
  s.source       = { :git => "https://gitee.com/dvlpPublic/iOS.git", :tag => "CQBridgeSTOLottie_0.1.0" }
  #s.source_files  = "CJDemoCommon/*.{h,m}"
  #s.source_files = "CJChat/TestOSChinaPod.{h,m}"

  s.frameworks = "UIKit"

  s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  # s.dependency "JSONKit", "~> 1.4"

  s.source_files = "CQBridgeSTOLottie/**/*.{h,m,swift}"
  # s.resource_bundle = {
  #   'CQBridgeSTOLottieResources' => ['CQBridgeSTOLottie/**/*.{png}'] # CQBridgeSTOLottieResources 为生成boudle的名称，可以随便起，但要记住，库里要用
  # }

  s.dependency "lottie-ios"#,'~> 3.1.9' # 这里必须是swift版本的lottie-ios，不然就没必要有这个bridge的桥接库了
  
end
